package com.powernode.mapper;

import com.powernode.domain.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {

    /**
     * 查询首页商品分类
     * @return
     */
    List<Category> selectByList();

    /**
     * 查询首页一级商品分类
     */
    List<Category> selectByListFirst();
}
